package com.lry.jvm.rtda.heap;

import com.lry.jvm.classfile.constantpool.ConstantMemberRefInfo;
import lombok.Data;

@Data
public class MemberRef extends SymRef{

    private String name;
    private String descriptor;

    public MemberRef(ConstantMemberRefInfo memberRefInfo){
        this.setClassName(memberRefInfo.className());
        this.name = memberRefInfo.name();
        this.descriptor = memberRefInfo.descriptor();
    }

}
